//
//  YYRunLoop.m
//  YYRunLoop
//
//  Created by SMCB on 2017/11/1.
//  Copyright © 2017年 SMCB. All rights reserved.
//

#import "YYRunLoop.h"
#import "YYRunLoopService.h"
#import "YYRunLoopObserver.h"

@implementation YYRunLoop

+ (void)registerYYRunLoopService {
    [YYRunLoopService provideService];
    [[YYRunLoopService provideService] addObject:[YYRunLoopObserver new]];
}

+ (void)unRegisterYYRunLoopService {
    [YYRunLoopService revokeService];
}

@end
